deploy: Actually copy xattrs of modified config files
authorColin Walters <walters@verbum.org>
Sat, 3 Jan 2015 17:14:11 +0000 (12:14 -0500)
committerColin Walters <walters@verbum.org>
Tue, 6 Jan 2015 15:55:44 +0000 (10:55 -0500)
commit01f6d68c6029a797053a709adb302973ccf1aba6
treee7c2f298c3a75afa6f4e06444a857c93d2633eac
parent7727fe84d90099efadb535538f9aa22d83f78507
deploy: Actually copy xattrs of modified config files

Regression from 7b01bd2e4333d4346dd08e0b5caf672f56b1ccfd
where we stopped using g_file_copy() - we lost copying xattrs.

This specifically breaks /etc/shadow SELinux labeling, with the
obvious bad consequences.

https://bugzilla.gnome.org/show_bug.cgi?id=742289
src/libostree/ostree-sysroot-deploy.c